package com.ruoyi.system.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description:社保信息
 * @FileName: SocialInfo
 * @Author: 张琳杰
 * @Date: 2022年03月23日 15:05
 */
@NoArgsConstructor
@Data
public class SocialInfo {
    //{"data":{"items":[{"report_year":"2020","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"100万元","unenployment_insurance":"0万元","injury_insurance_num":"24291人","birth_amount":"0万元","birth_num":"24291人","actual_endownment_amount":"4200万元","unenployment_num":"24291人","base_medical_down_balance":"0万元","company_injury_down_balance":"0万元","insurance_num":"24291人","basic_medical_amount":"16500万元","basic_endownment_num":"24291人","birth_insurance_count":"500万元","unenployment_down_balance":"0万元","endownment_base_amount":"4200万元","actual_medical_amount":"16500万元","actual_lost_amount":"0万元","endownment_insurance_amount":"0万元","birth_actual_amount":"500万元","injury_insurance_amount":"-"},"report_date":"2021-05-06"},{"report_year":"2019","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"372万元","unenployment_insurance":"855万元","injury_insurance_num":"17337人","birth_amount":"0万元","birth_num":"17337人","actual_endownment_amount":"28410万元","unenployment_num":"17337人","base_medical_down_balance":"0万元","company_injury_down_balance":"0万元","insurance_num":"17337人","basic_medical_amount":"15292万元","basic_endownment_num":"17337人","birth_insurance_count":"1132万元","unenployment_down_balance":"0万元","endownment_base_amount":"28410万元","actual_medical_amount":"15292万元","actual_lost_amount":"855万元","endownment_insurance_amount":"0万元","birth_actual_amount":"1132万元","injury_insurance_amount":"-"},"report_date":"2020-05-29"},{"report_year":"2018","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"127万元","unenployment_insurance":"2543万元","injury_insurance_num":"13684人","birth_amount":"0万元","birth_num":"13684人","actual_endownment_amount":"5933万元","unenployment_num":"13684人","base_medical_down_balance":"0万元","company_injury_down_balance":"0万元","insurance_num":"13684人","basic_medical_amount":"43231万元","basic_endownment_num":"13684人","birth_insurance_count":"3560万元","unenployment_down_balance":"0万元","endownment_base_amount":"71205万元","actual_medical_amount":"3602万元","actual_lost_amount":"211万元","endownment_insurance_amount":"0万元","birth_actual_amount":"296万元","injury_insurance_amount":"-"},"report_date":"2019-05-20"},{"report_year":"2017","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"0.77万元","unenployment_insurance":"10.74万元","injury_insurance_num":"12185人","birth_amount":"0万元","birth_num":"12185人","actual_endownment_amount":"34.38万元","unenployment_num":"12176人","base_medical_down_balance":"0万元","company_injury_down_balance":"0万元","insurance_num":"12185人","basic_medical_amount":"22.06万元","basic_endownment_num":"12185人","birth_insurance_count":"0.46万元","unenployment_down_balance":"0万元","endownment_base_amount":"34.38万元","actual_medical_amount":"22.06万元","actual_lost_amount":"10.74万元","endownment_insurance_amount":"0万元","birth_actual_amount":"0.46万元","injury_insurance_amount":"-"},"report_date":"2018-05-15"},{"report_year":"2016","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"万元","unenployment_insurance":"万元","injury_insurance_num":"11600人","birth_amount":"万元","birth_num":"6810人","actual_endownment_amount":"万元","unenployment_num":"11600人","base_medical_down_balance":"万元","company_injury_down_balance":"万元","insurance_num":"11600人","basic_medical_amount":"万元","basic_endownment_num":"11600人","birth_insurance_count":"万元","unenployment_down_balance":"万元","endownment_base_amount":"-","actual_medical_amount":"万元","actual_lost_amount":"万元","endownment_insurance_amount":"万元","birth_actual_amount":"万元","injury_insurance_amount":"-"},"report_date":"2017-06-12"},{"report_year":"2015","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"-","unenployment_insurance":"-","injury_insurance_num":"-","birth_amount":"-","birth_num":"-","actual_endownment_amount":"-","unenployment_num":"-","base_medical_down_balance":"-","company_injury_down_balance":"-","insurance_num":"-","basic_medical_amount":"-","basic_endownment_num":"-","birth_insurance_count":"-","unenployment_down_balance":"-","endownment_base_amount":"-","actual_medical_amount":"-","actual_lost_amount":"-","endownment_insurance_amount":"-","birth_actual_amount":"-","injury_insurance_amount":"-"},"report_date":"2016-06-08"},{"report_year":"2014","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"-","unenployment_insurance":"-","injury_insurance_num":"-","birth_amount":"-","birth_num":"-","actual_endownment_amount":"-","unenployment_num":"-","base_medical_down_balance":"-","company_injury_down_balance":"-","insurance_num":"-","basic_medical_amount":"-","basic_endownment_num":"-","birth_insurance_count":"-","unenployment_down_balance":"-","endownment_base_amount":"-","actual_medical_amount":"-","actual_lost_amount":"-","endownment_insurance_amount":"-","birth_actual_amount":"-","injury_insurance_amount":"-"},"report_date":"2015-06-26"},{"report_year":"2013","name":"宁波银行股份有限公司","social_security":{"actual_injury_amount":"-","unenployment_insurance":"-","injury_insurance_num":"-","birth_amount":"-","birth_num":"-","actual_endownment_amount":"-","unenployment_num":"-","base_medical_down_balance":"-","company_injury_down_balance":"-","insurance_num":"-","basic_medical_amount":"-","basic_endownment_num":"-","birth_insurance_count":"-","unenployment_down_balance":"-","endownment_base_amount":"-","actual_medical_amount":"-","actual_lost_amount":"-","endownment_insurance_amount":"-","birth_actual_amount":"-","injury_insurance_amount":"-"},"report_date":"2014-11-10"}],"total":8},"sign":"cf1d406bb69c0cc2b759e70a1465b068","status":"200","message":"操作成功"}
    //{
    //  "data": {
    //    "items": [
    //      {
    //        "report_year": "2020",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "100万元",
    //          "unenployment_insurance": "0万元",
    //          "injury_insurance_num": "24291人",
    //          "birth_amount": "0万元",
    //          "birth_num": "24291人",
    //          "actual_endownment_amount": "4200万元",
    //          "unenployment_num": "24291人",
    //          "base_medical_down_balance": "0万元",
    //          "company_injury_down_balance": "0万元",
    //          "insurance_num": "24291人",
    //          "basic_medical_amount": "16500万元",
    //          "basic_endownment_num": "24291人",
    //          "birth_insurance_count": "500万元",
    //          "unenployment_down_balance": "0万元",
    //          "endownment_base_amount": "4200万元",
    //          "actual_medical_amount": "16500万元",
    //          "actual_lost_amount": "0万元",
    //          "endownment_insurance_amount": "0万元",
    //          "birth_actual_amount": "500万元",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2021-05-06"
    //      },
    //      {
    //        "report_year": "2019",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "372万元",
    //          "unenployment_insurance": "855万元",
    //          "injury_insurance_num": "17337人",
    //          "birth_amount": "0万元",
    //          "birth_num": "17337人",
    //          "actual_endownment_amount": "28410万元",
    //          "unenployment_num": "17337人",
    //          "base_medical_down_balance": "0万元",
    //          "company_injury_down_balance": "0万元",
    //          "insurance_num": "17337人",
    //          "basic_medical_amount": "15292万元",
    //          "basic_endownment_num": "17337人",
    //          "birth_insurance_count": "1132万元",
    //          "unenployment_down_balance": "0万元",
    //          "endownment_base_amount": "28410万元",
    //          "actual_medical_amount": "15292万元",
    //          "actual_lost_amount": "855万元",
    //          "endownment_insurance_amount": "0万元",
    //          "birth_actual_amount": "1132万元",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2020-05-29"
    //      },
    //      {
    //        "report_year": "2018",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "127万元",
    //          "unenployment_insurance": "2543万元",
    //          "injury_insurance_num": "13684人",
    //          "birth_amount": "0万元",
    //          "birth_num": "13684人",
    //          "actual_endownment_amount": "5933万元",
    //          "unenployment_num": "13684人",
    //          "base_medical_down_balance": "0万元",
    //          "company_injury_down_balance": "0万元",
    //          "insurance_num": "13684人",
    //          "basic_medical_amount": "43231万元",
    //          "basic_endownment_num": "13684人",
    //          "birth_insurance_count": "3560万元",
    //          "unenployment_down_balance": "0万元",
    //          "endownment_base_amount": "71205万元",
    //          "actual_medical_amount": "3602万元",
    //          "actual_lost_amount": "211万元",
    //          "endownment_insurance_amount": "0万元",
    //          "birth_actual_amount": "296万元",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2019-05-20"
    //      },
    //      {
    //        "report_year": "2017",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "0.77万元",
    //          "unenployment_insurance": "10.74万元",
    //          "injury_insurance_num": "12185人",
    //          "birth_amount": "0万元",
    //          "birth_num": "12185人",
    //          "actual_endownment_amount": "34.38万元",
    //          "unenployment_num": "12176人",
    //          "base_medical_down_balance": "0万元",
    //          "company_injury_down_balance": "0万元",
    //          "insurance_num": "12185人",
    //          "basic_medical_amount": "22.06万元",
    //          "basic_endownment_num": "12185人",
    //          "birth_insurance_count": "0.46万元",
    //          "unenployment_down_balance": "0万元",
    //          "endownment_base_amount": "34.38万元",
    //          "actual_medical_amount": "22.06万元",
    //          "actual_lost_amount": "10.74万元",
    //          "endownment_insurance_amount": "0万元",
    //          "birth_actual_amount": "0.46万元",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2018-05-15"
    //      },
    //      {
    //        "report_year": "2016",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "万元",
    //          "unenployment_insurance": "万元",
    //          "injury_insurance_num": "11600人",
    //          "birth_amount": "万元",
    //          "birth_num": "6810人",
    //          "actual_endownment_amount": "万元",
    //          "unenployment_num": "11600人",
    //          "base_medical_down_balance": "万元",
    //          "company_injury_down_balance": "万元",
    //          "insurance_num": "11600人",
    //          "basic_medical_amount": "万元",
    //          "basic_endownment_num": "11600人",
    //          "birth_insurance_count": "万元",
    //          "unenployment_down_balance": "万元",
    //          "endownment_base_amount": "-",
    //          "actual_medical_amount": "万元",
    //          "actual_lost_amount": "万元",
    //          "endownment_insurance_amount": "万元",
    //          "birth_actual_amount": "万元",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2017-06-12"
    //      },
    //      {
    //        "report_year": "2015",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "-",
    //          "unenployment_insurance": "-",
    //          "injury_insurance_num": "-",
    //          "birth_amount": "-",
    //          "birth_num": "-",
    //          "actual_endownment_amount": "-",
    //          "unenployment_num": "-",
    //          "base_medical_down_balance": "-",
    //          "company_injury_down_balance": "-",
    //          "insurance_num": "-",
    //          "basic_medical_amount": "-",
    //          "basic_endownment_num": "-",
    //          "birth_insurance_count": "-",
    //          "unenployment_down_balance": "-",
    //          "endownment_base_amount": "-",
    //          "actual_medical_amount": "-",
    //          "actual_lost_amount": "-",
    //          "endownment_insurance_amount": "-",
    //          "birth_actual_amount": "-",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2016-06-08"
    //      },
    //      {
    //        "report_year": "2014",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "-",
    //          "unenployment_insurance": "-",
    //          "injury_insurance_num": "-",
    //          "birth_amount": "-",
    //          "birth_num": "-",
    //          "actual_endownment_amount": "-",
    //          "unenployment_num": "-",
    //          "base_medical_down_balance": "-",
    //          "company_injury_down_balance": "-",
    //          "insurance_num": "-",
    //          "basic_medical_amount": "-",
    //          "basic_endownment_num": "-",
    //          "birth_insurance_count": "-",
    //          "unenployment_down_balance": "-",
    //          "endownment_base_amount": "-",
    //          "actual_medical_amount": "-",
    //          "actual_lost_amount": "-",
    //          "endownment_insurance_amount": "-",
    //          "birth_actual_amount": "-",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2015-06-26"
    //      },
    //      {
    //        "report_year": "2013",
    //        "name": "宁波银行股份有限公司",
    //        "social_security": {
    //          "actual_injury_amount": "-",
    //          "unenployment_insurance": "-",
    //          "injury_insurance_num": "-",
    //          "birth_amount": "-",
    //          "birth_num": "-",
    //          "actual_endownment_amount": "-",
    //          "unenployment_num": "-",
    //          "base_medical_down_balance": "-",
    //          "company_injury_down_balance": "-",
    //          "insurance_num": "-",
    //          "basic_medical_amount": "-",
    //          "basic_endownment_num": "-",
    //          "birth_insurance_count": "-",
    //          "unenployment_down_balance": "-",
    //          "endownment_base_amount": "-",
    //          "actual_medical_amount": "-",
    //          "actual_lost_amount": "-",
    //          "endownment_insurance_amount": "-",
    //          "birth_actual_amount": "-",
    //          "injury_insurance_amount": "-"
    //        },
    //        "report_date": "2014-11-10"
    //      }
    //    ],
    //    "total": 8
    //  },
    //  "sign": "cf1d406bb69c0cc2b759e70a1465b068",
    //  "status": "200",
    //  "message": "操作成功"
    //}
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("sign")
    private String sign;
    @JsonProperty("status")
    private String status;
    @JsonProperty("message")
    private String message;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("items")
        private List<ItemsDTO> items;
        @JsonProperty("total")
        private Integer total;

        @NoArgsConstructor
        @Data
        public static class ItemsDTO {
            @JsonProperty("report_year")
            private String reportYear;
            @JsonProperty("name")
            private String name;
            @JsonProperty("social_security")
            private SocialSecurityDTO socialSecurity;
            @JsonProperty("report_date")
            private String reportDate;

            @NoArgsConstructor
            @Data
            public static class SocialSecurityDTO {
                @JsonProperty("actual_injury_amount")
                private String actualInjuryAmount;
                @JsonProperty("unenployment_insurance")
                private String unenploymentInsurance;
                @JsonProperty("injury_insurance_num")
                private String injuryInsuranceNum;
                @JsonProperty("birth_amount")
                private String birthAmount;
                @JsonProperty("birth_num")
                private String birthNum;
                @JsonProperty("actual_endownment_amount")
                private String actualEndownmentAmount;
                @JsonProperty("unenployment_num")
                private String unenploymentNum;
                @JsonProperty("base_medical_down_balance")
                private String baseMedicalDownBalance;
                @JsonProperty("company_injury_down_balance")
                private String companyInjuryDownBalance;
                @JsonProperty("insurance_num")
                private String insuranceNum;
                @JsonProperty("basic_medical_amount")
                private String basicMedicalAmount;
                @JsonProperty("basic_endownment_num")
                private String basicEndownmentNum;
                @JsonProperty("birth_insurance_count")
                private String birthInsuranceCount;
                @JsonProperty("unenployment_down_balance")
                private String unenploymentDownBalance;
                @JsonProperty("endownment_base_amount")
                private String endownmentBaseAmount;
                @JsonProperty("actual_medical_amount")
                private String actualMedicalAmount;
                @JsonProperty("actual_lost_amount")
                private String actualLostAmount;
                @JsonProperty("endownment_insurance_amount")
                private String endownmentInsuranceAmount;
                @JsonProperty("birth_actual_amount")
                private String birthActualAmount;
                @JsonProperty("injury_insurance_amount")
                private String injuryInsuranceAmount;
            }
        }
    }



}
